function submit_form() {
    let name = document.getElementById("username").value;
    let pwd = document.getElementById("password").value;
    if(name == '' || pwd == ''){
        alert("账号或密码未输入！");
        return false;
    }
}